Skip to content

Conversation

@sacr1ficez
Copy link
Contributor

@sacr1ficez sacr1ficez commented Aug 12, 2025

Based on MTA's community resource: glue_new

Changes comparing to original version:

  • meta.xml scripts are loaded by patterns
  • refactored most of code, a bit of optimizations
  • few additional things to customize (see config: ShVehicleAttachConfig.lua)
  • added security checks for both client and server side, a lot of them
  • added player delays to prevent trigger spam
  • added glue messages for few actions
  • added optional ability to attach-lock vehicle using key
  • added optional feature to detach all currently attached elements (for vehicle driver)
  • added optional one-time hint when entering a vehicle (content is based on which features are enabled)
glue_messages

@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players/vehicle glue_new - resource for attaching players and vehicles to a vehicle Aug 12, 2025
@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players and vehicles to a vehicle glue_new - resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players (and/or) vehicles to a vehicle glue_new: resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
@Dutchman101
Copy link
Member

Dutchman101 commented Aug 12, 2025

I think you can just name this resource "glue", because the ancient community resource called "glue" isn't official nor included with the MTA resources, and it won't be related.
@sacr1ficez

@sacr1ficez sacr1ficez changed the title glue_new: resource for attaching players (and/or) vehicles to a vehicle glue: resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
@sacr1ficez
Copy link
Contributor Author

@Dutchman101 done

@Dutchman101
Copy link
Member

Good work, ty!

@Dutchman101 Dutchman101 self-requested a review August 17, 2025 21:29
@Dutchman101 Dutchman101 merged commit 2e86749 into multitheftauto:master Aug 17, 2025
1 check passed
@sacr1ficez sacr1ficez deleted the glue_new branch August 18, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants